package com.xoa.dev.efficiency.dao;

import com.xoa.dev.efficiency.model.FlowSettingHoliday;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/*
Created by wuwei on 2018.07.21
 */
public interface FlowSettingHolidayMapper {

    int insertFlowSettingHoliday(FlowSettingHoliday flowsettingholiday);

    List<FlowSettingHoliday> selectFlowSettingHoliday(String beginyear);

    List<FlowSettingHoliday> selectFlowSettingHolidayPagination(Map<String, Object> map);

    int deleteByPrimaryKey(Integer holidayId);

    int updateByPrimaryKey(FlowSettingHoliday flowsettingholiday);

    List<FlowSettingHoliday> selectAll(@Param("workDeadline") String workDeadline, @Param("wordStart") String wordStart);
}
